package com.atguigu.servicebase.exception;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author JY
 * @create 2021-01-12 15:02
 */
@Data   //生成get,set方法
@AllArgsConstructor //生成带参构造
@NoArgsConstructor  //生成无参构造
public class GuliException extends RuntimeException{
    @ApiModelProperty(value = "状态码")
    private Integer code;

    private String msg;
}
